<?php

if (in_array($_SERVER['HTTP_HOST'], array("127.0.0.1", "localhost"))) {
    define('ROOTPATH', 'http://' . $_SERVER['HTTP_HOST'] . '/bulletin-facile', true);
} else {
    define('ROOTPATH', 'http://' . $_SERVER['HTTP_HOST'] , true);
}

$nomSite = 'bulletin-facile.fr';
$urlSite = 'http://www.bulletin-facile.fr';
$mailSite = 'contact@bulletin-facile.fr';
$mailAdmin = 'vincent@slomowicz.com';

$enteteErrLog = "MIME-Version: 1.0\r\n";
$enteteErrLog .= "Content-type: text/html; charset=iso-8859-1\r\n";
$enteteErrLog .= "To: $mailAdmin\r\n";
$enteteErrLog .= "Subject: [Error Log] $nomSite\r\n";
$enteteErrLog .= "From: $mailSite\r\n";
$enteteErrLog .= "Reply-To: $mailSite \n"; // Adresse de retour le demandeur
?>